package com.android.lovingpet.common.userinfo;

import com.android.lovingpet.base.BaseView;
import com.android.lovingpet.common.postlist.PostListContract;

import java.util.ArrayList;

public interface UserInfoContract {

    interface View extends PostListContract.View {

        void setFans(ArrayList<Integer> fans);
        void setAttentions(ArrayList<Integer> attentions);
        void setButtonText(boolean isFollowed);
    }

    interface Presenter {

        void getFans(int id);
        void getAttentions(int id);
        /***
         * @param mode 关注传0，否则取消关注
         */
        void followOrCancel(int targetId, int mode);
    }
}
